<#list styleList as sList>
<tr onclick="selectFunction(this)" ondblclick = "selectStyle()">
    <td><p class='tab-No'>${(pageNo -1) * pageSize + sList_index+1}</p></td>
    <td><p class='tab-kstp'>
    
    <#if sList.styleFile?exists&sList.styleFile!=''>  
	    <img class="imgSize" src='${sList.styleFile}'>
	<#else>  
	    <img class="imgSize" src='/ls-erp/static/images/pic-none.jpg'>
	</#if> 
    </p></td>
    <td><p class='tab-khksmc'><#if sList.styleCustomerNo??>  ${sList.styleCustomerNo}</#if><br><#if sList.styleNameCN??>  ${sList.styleNameCN} </#if></p></td>
    <td><p class='tab-kslb'><#if sList.styleCatgoryCN??>  ${sList.styleCatgoryCN} </#if></p></td>
    <td><p class='tab-jjnf'><#if sList.styleYear??>${sList.styleYear}</#if>&nbsp;<#if sList.styleSeason??>  ${sList.styleSeason}</#if></p></td>
    
    <td><p class='tab-ksys'><#if sList.styleColorName??>  ${sList.styleColorName} </#if></p></td>
    <td><p class='tab-kh'><#if sList.styleCustomerName??>  ${sList.styleCustomerName} </#if></p></td>
    <td><p class='tab-cjr'><#if sList.createBy.firstName??>  ${sList.createBy.firstName} </#if></p></td>
    <td><p class='tab-cjrq'>${(sList.createDate)?string("yyyy-MM-dd")}</p></td>
    <td style='display:none;'>
    <input type ='hidden' class = 'styleId' value = '${sList.styleID}' disabled='disabled'>
    <input type ='hidden' class = 'styleNO' value = '${sList.styleNO}' disabled='disabled'>
    <#if sList.indentID?exists&sList.indentID!=0>
    	<input type ='hidden' class = 'indentID' value = '${sList.indentID}' disabled='disabled'>
    <#else>  
	     <input type ='hidden' class = 'indentID' value = '0' disabled='disabled'>
	</#if>
	<#if sList.contractID?exists&sList.contractID!=0>
    	<input type ='hidden' class = 'contractID' value = '${sList.contractID}' disabled='disabled'>
    <#else>  
	     <input type ='hidden' class = 'contractID' value = '0' disabled='disabled'>
	</#if>
    <#if sList.createBy.firstName?exists&sList.createBy.firstName!=''>
    	<input type ='hidden' class = 'creatorName' value = '${sList.createBy.firstName}' disabled='disabled'>
    <#else>  
	     <input type ='hidden' class = 'creatorName' value = '' disabled='disabled'>
	</#if>
	<#if sList.createDate?exists>
    	<input type ='hidden' class = 'createDate' value = '${(sList.createDate)?string("yyyy-MM-dd")}' disabled='disabled'>
    <#else>  
	     <input type ='hidden' class = 'createDate' value = '' disabled='disabled'>
	</#if>
    <#if sList.customerContractNO?exists&sList.customerContractNO!=''>
    	<input type ='hidden' class = 'customerContractNO' value = '${sList.customerContractNO}' disabled='disabled'>
    <#else>  
	     <input type ='hidden' class = 'customerContractNO' value = '' disabled='disabled'>
	</#if>
	<#if sList.indentQuantity?exists&sList.indentQuantity!=''>
    	<input type ='hidden' class = 'indentQuantity' value = '${sList.indentQuantity}' disabled='disabled'>
    <#else>  
	     <input type ='hidden' class = 'indentQuantity' value = '' disabled='disabled'>
	</#if>
    <#if sList.styleNameCN?exists&sList.styleNameCN!=''>
    	<input type ='hidden' class = 'styleNameCN' value = '${sList.styleNameCN}' disabled='disabled'>
    <#else>  
	     <input type ='hidden' class = 'styleNameCN' value = '' disabled='disabled'>
	</#if> 
     <#if sList.styleFile?exists&sList.styleFile!=''>  
	     <input type ='hidden' class = 'styleFile' value = '${sList.styleFile}' disabled='disabled'>
	<#else>  
	     <input type ='hidden' class = 'styleFile' value = '/ls-erp/static/images/pic-none.jpg' disabled='disabled'>
	</#if> 
	 <#if sList.styleCustomerName?exists&sList.styleCustomerName!=''>  
	     <input type ='hidden' class = 'styleCustomerName' value = '${sList.styleCustomerName}' disabled='disabled'>
	<#else>  
	     <input type ='hidden' class = 'styleCustomerName' value = '' disabled='disabled'>
	</#if>
	<#if sList.styleColorName?exists&sList.styleColorName!=''>  
	     <input type ='hidden' class = 'styleColorName' value = '${sList.styleColorName}' disabled='disabled'>
	<#else>  
	     <input type ='hidden' class = 'styleColorName' value = '' disabled='disabled'>
	</#if>
	<#if sList.styleSizeGroupCD?exists&sList.styleSizeGroupCD!=''>  
	     <input type ='hidden' class = 'styleSizeGroupCD' value = '${sList.styleSizeGroupCD}' disabled='disabled'>
	<#else>  
	     <input type ='hidden' class = 'styleSizeGroupCD' value = '' disabled='disabled'>
	</#if>
	<#if sList.styleCustomerNo?exists&sList.styleCustomerNo!=''>  
	     <input type ='hidden' class = 'styleCustomerNo' value = '${sList.styleCustomerNo}' disabled='disabled'>
	<#else>  
	     <input type ='hidden' class = 'styleCustomerNo' value = '' disabled='disabled'>
	</#if>
	<#if sList.refStyleNo?exists&sList.refStyleNo!=''>  
	     <input type ='hidden' class = 'refStyleNo' value = '${sList.refStyleNo}' disabled='disabled'>
	<#else>  
	     <input type ='hidden' class = 'refStyleNo' value = '' disabled='disabled'>
	</#if>
	<#if sList.styleTemp?exists&sList.styleTemp!=''>  
	     <input type ='hidden' class = 'styleTemp' value = '${sList.styleTemp}' disabled='disabled'>
	<#else>  
	     <input type ='hidden' class = 'styleTemp' value = '' disabled='disabled'>
	</#if>
	<#if sList.styleYear?exists&sList.styleYear!=''>  
	     <input type ='hidden' class = 'styleYear' value = '${sList.styleYear}' disabled='disabled'>
	<#else>  
	     <input type ='hidden' class = 'styleYear' value = '' disabled='disabled'>
	</#if>
	
	<#if sList.styleTempSeason?exists&sList.styleTempSeason!=''>  
	     <input type ='hidden' class = 'styleTempSeason' value = '${sList.styleTempSeason}' disabled='disabled'>
	<#else>  
	     <input type ='hidden' class = 'styleTempSeason' value = '' disabled='disabled'>
	</#if>
	
	<#if sList.styleOgnizaitonTemp?exists&sList.styleOgnizaitonTemp!=''>  
	     <input type ='hidden' class = 'styleOgnizaitonTemp' value = '${sList.styleOgnizaitonTemp}' disabled='disabled'>
	<#else>  
	     <input type ='hidden' class = 'styleOgnizaitonTemp' value = '' disabled='disabled'>
	</#if>
	<#if sList.styleRemarks?exists&sList.styleRemarks!=''>  
	     <input type ='hidden' class = 'styleRemarks' value = '${sList.styleRemarks}' disabled='disabled'>
	<#else>  
	     <input type ='hidden' class = 'styleRemarks' value = '' disabled='disabled'>
	</#if>
	<#if sList.ognizationID?exists>  
	     <input type ='hidden' class = 'ognizationID' value = '${sList.ognizationID}' disabled='disabled'>
	<#else>  
	     <input type ='hidden' class = 'ognizationID' value = '' disabled='disabled'>
	</#if>
	<#if sList.brandId?exists>  
	     <input type ='hidden' class = 'brandId' value = '${sList.brandId}' disabled='disabled'>
	<#else>  
	     <input type ='hidden' class = 'brandId' value = '' disabled='disabled'>
	</#if>
	<#if sList.styleCatgoryCN?exists&sList.styleCatgoryCN!=''>  
	     <input type ='hidden' class = 'styleCatgoryCN' value = '${sList.styleCatgoryCN}' disabled='disabled'>
	<#else>  
	     <input type ='hidden' class = 'styleCatgoryCN' value = '' disabled='disabled'>
	</#if>
	<#if sList.styleCatgoryCD?exists&sList.styleCatgoryCD!=''>  
	     <input type ='hidden' class = 'styleCatgoryCD' value = '${sList.styleCatgoryCD}' disabled='disabled'>
	<#else>  
	     <input type ='hidden' class = 'styleCatgoryCD' value = '' disabled='disabled'>
	</#if>
	   <input type ='hidden' class = 'styleSeason' value = '<#if sList.styleSeason??>  ${sList.styleSeason}</#if>' disabled='disabled'>
	    <input type ='hidden' class = 'styleSizeGroupCn' value = '<#if sList.styleSizeGroupCn??>  ${sList.styleSizeGroupCn}</#if>' disabled='disabled'>
    </td>
</tr>
</#list>